package site.codeyin.javautils.utils.mapstruct.common;

import site.codeyin.javautils.utils.mapstruct.pojo.MapStructData;

import java.util.Date;

/**
 * @author <a href="https://github.com/liangcheng2221">yinjie</a>
 * @date 2024-09-08 10:11
 */
public class Main {
    public static void main(String[] args) {
        MapStructData mapStructData = new MapStructData();
        mapStructData.setString("yinjie");
        mapStructData.setDate(new Date());
        mapStructData.setDoubleData(1.0);
        mapStructData.setIgnore("hulue");

        System.out.println(MapStructConvertor.INSTANCES.toMapStructVO(mapStructData));

    }
}
